/**
 * @author YinHang
 */
;(function () {
	//Action配置
	var METADATA = ACTIONS.METADATA = ACTIONS.METADATA ? ACTIONS.METADATA : {};
	//Action列表
	//数据源列表
	METADATA.SOURCE_LIST = {
			url: path + "/ajax/getDataSourceInfoByPageAction.action",
			params: {
				SEARCH: "searchString",
				ADVANCED: "searchType",
				PAGE_SIZE: "page.pageSize",
				PAGE: "page.pageNo"
			},
			data: {
				RECORD_COUNT: "page.totalCount",
				PAGE_SIZE: "page.pageSize"
			}
		};
	//数据库表列表
	METADATA.TABLE_LIST = {
			url: path + "/ajax/getMetadataTablePageAction.action",
			params: {
				SEARCH: "searchString",
				ADVANCED: "searchType",
				PAGE_SIZE: "page.pageSize",
				PAGE: "page.pageNo"
			},
			data: {
				RECORD_COUNT: "page.totalCount",
				PAGE_SIZE: "page.pageSize"
			}
		};
	//删除数据源
	METADATA.DELETE_SOURCE = {
			url: path + "/ajax/deleteDataSourceInfoAction.action",
			params: {
				SOURCE_ID: "dataSourceInfoId",
				VERSION:"dataSourceInfoVersion"
			}
		};
	//删除数据库表
	METADATA.DELETE_TABLE = {
			url: path + "/ajax/deleteMetaDataTableAction.action",
			params: {
				TABLE_ID: "dataTableId",
				VERSION: "dataTableVersion"
			}
		};
	//获取元数据列表初始化数据
	METADATA.METADATA_INITDATA = {
			url: path + "/ajax/initMetaDataShowTitleItemAction",
			params: {
				METADATA_ID: "metaDataTableId"
			}
		};
})();